//
//  XZHMusicPlayView.h
//  Piece
//
//  Created by dllo on 16/6/20.
//  Copyright © 2016年 Northeast Dianli University. All rights reserved.
//

#import "ZHBaseView.h"
#import "XZHMusicPlayView.h"
#import "YXJMusicModel.h"

@protocol XZHMusicPlayViewDelegate <NSObject>

- (void)nextMusic;

- (void)lastMusic;

- (void)playMusic;

- (void)pauseMusic;
@end
@interface XZHMusicPlayView : ZHBaseView
@property (nonatomic, assign) id<XZHMusicPlayViewDelegate> delegate;
@property (nonatomic, strong) UIView *musicPlayView;
@property (nonatomic, strong) UIView *backgroundView;
@property (nonatomic, strong) UIView *clearView;
@property (nonatomic, strong) UILabel *titleLabel;
//音乐播放
@property (nonatomic, strong) YXJMusicModel *musicInfo;
@property (nonatomic, assign) NSInteger index;
@property (nonatomic, copy) NSArray *musicArr;
@property (nonatomic, assign) BOOL isPlay;
@property (nonatomic, assign) BOOL isCirulate;
@property (nonatomic, strong) UIButton *playButton;
@property (nonatomic, strong) UIButton *pauseButton;

+ (XZHMusicPlayView *)shareMusicPlayViewInstance;
@end
